<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>


<logic:present name="profForm">
       <form id="modifyProfForm">
        <table>
         <tr>
            <td align="right"><bean:message key="label.professor.key"/>:</td>
            <td>
            <logic:equal name="profForm" property="action" value="m">
                <html:text property="iD_Professor" styleId="profKey" name="profForm" disabled="true" readonly="true"/>
            </logic:equal></td>
        </tr>
        <tr>
            <td align="right"><bean:message key="label.professor.name"/>:</td>
            <td><html:text property="professor_Name" styleId="profName" name="profForm"/> </td>
        </tr>

        <tr>
            <td align="right"><bean:message key="label.professor.tel"/>:</td>
            <td><html:text property="professor_Tel" styleId="profTel" name="profForm"/> </td>
        </tr>
        <tr>
            <td align="right" rowspan="2"><bean:message key="label.professor.state"/>:</td>
            <td>
                Activo: <html:radio property="state" value="A" name="profForm" /><br></td>
        </tr>
        <tr>
            <td> Inactivo: <html:radio property="state" value="I" name="profForm"/><br>            </td>

        </tr>
           </table>
        </form>
</logic:present>
